<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <!-- <button onclick="alert('hello world')">点我1</button> -->


  <!-- <button>点我2</button>
  <script>
    document.querySelector('button').onclick = function(){
      alert('第二种写法')
    }
  </script> -->


  <button>点我3</button>

  <script src="./js/text.js"></script>
</body>
</html>